<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>margin改变元素占据尺寸的大小的</title>
    <style>
      .box {
        border: 1px dashed skyblue;
        /* height: 150px; */
      }
    
    </style>
  </head>
  <body>
    <!-- <div class="box">
       <img src="../images/54447b06000171a002560191.jpg" style="margin:50px 0;" />
    </div> -->
<div style=" border: 1px dashed skyblue;">
  <img src="../images/54447b06000171a002560191.jpg" height="300" style="margin:50px 0; margin-bottom:50px">
</div>
  </body>
</html>
